package com.example.administrator.yuejian_2.viewholder;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageButton;
import android.widget.ImageView;
import android.widget.TextView;

import com.example.administrator.yuejian_2.R;

/**
 * Created by Administrator on 2017/10/9.
 */

public class MacourseVH extends RecyclerView.ViewHolder{
    public ImageView classImag;
    public ImageButton likeButton;
    public TextView classname;
    public TextView likesum;
    public View itemView;


    public MacourseVH(View itemView) {
        super(itemView);

        this.itemView = itemView;
        classImag = itemView.findViewById(R.id.maclass_pic);
        likeButton = itemView.findViewById(R.id.maclass_imageButton);
        classname = itemView.findViewById(R.id.maclassname_textView);
        likesum = itemView.findViewById(R.id.maclass_like);
    }
}
